package com.ruoyi.labsafety.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 安检检查指标项对象 lab_safety_check_rel_index_item
 * 
 * @author ruoyi
 * @date 2022-03-31
 */
public class LabSafetyCheckRelIndexItem extends TreeEntity<LabSafetyCheckRelIndexItem>
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;
    

	/** 安检ID */
    @Excel(name = "安检ID")
    private Long instanceId;

    /** 指标ID */
    @Excel(name = "指标ID")
    private Long indexId;

    /** 指标项ID */
    @Excel(name = "指标项ID")
    private Long indexItemId;

    /** 删除标识 */
    private Integer status;

    private String itemNo;
    private String name;
    private String spec;

    public String getItemNo() {
        return itemNo;
    }

    public void setItemNo(String itemNo) {
        this.itemNo = itemNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInstanceId(Long instanceId) 
    {
        this.instanceId = instanceId;
    }

    public Long getInstanceId() 
    {
        return instanceId;
    }
    public void setIndexId(Long indexId) 
    {
        this.indexId = indexId;
    }

    public Long getIndexId() 
    {
        return indexId;
    }
    public void setIndexItemId(Long indexItemId) 
    {
        this.indexItemId = indexItemId;
    }

    public Long getIndexItemId() 
    {
        return indexItemId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("instanceId", getInstanceId())
            .append("indexId", getIndexId())
            .append("indexItemId", getIndexItemId())
            .toString();
    }
}
